Storage Use Analysis and its
نویسندگان
چکیده
In this paper we present a new program analysis method which we call Storage Use Analysis. This analysis deduces how objects are used by the program and allows the optimization of their allocation. This analysis can be applied to both statically typed languages (e.g. ML) and latently typed languages (e.g. Scheme). It handles side-eeects, higher order functions, separate compilation and does not require cps transformation. We show the application of our analysis to two important optimizations: stack allocation and unbox-ing. The rst optimization replaces some heap allocations by stack allocations for user and system data storage (e.g. lists, vectors, procedures). The second optimization avoids boxing some objects. This analysis and associated optimizations have been implemented in the Bigloo Scheme/ML compiler. Experimental results show that for many allocation intensive programs we get a signiicant speedup. In particular, numerically intensive programs are almost 20 times faster because oating point numbers are unboxed and no longer heap allocated. 1 Introduction Modern strict functional languages such as Scheme and ML are still often much less eecient than traditional imperative languages such as Fortran and C. Few compilers for functional languages are able to produce executable programs whose eeciency is close to that of imperative ones 12]. To a large extent, this ineeciency is due to poor use of memory. Because read and write operations are much more expensive than arithmetic operations and control operations on modern computers, memory access is a major performance issue. Consequently, an eecient system must allocate as few objects as possible and must choose very carefully the location where the objects are allocated. Let's discuss these two points further.
منابع مشابه
measurement the absorption capacity of solar energy storage technology
Although solar energy is one of the most important renewable energies in Iran that most areas of the country, especially the Central Desert, have considerable ability to use, but the random nature of this type of energy makes it difficult to predict its output power and may cause problems in the performance of the feed systems. For this reason, the use of energy storage systems for periods of l...
متن کاملStability analysis and selection of optimuim support system of large scale underground space-Case study
The Azad pumped storage power plant including the pumping and transformer cavern and surge tanks has been located in the Sanandaj-Sirjan formation with the alternation of slate and phyllite and meta sandstone.Due to the sensitivity and special use of these spaces, stability analysis and ensuring the safety of carven is very important.Nowadays, using the surface storage tanks is very costly; The...
متن کاملLogistics performance of European Union markets: Towards the development of entrepreneurship in the transport and storage sector
The markets globalization is one of the factors creating conditions for the development of entrepreneurship. Entrepreneurship does not have one generally accepted definition. Most often, entrepreneurship is perceived as the ability to increase the number of enterprises. Entrepreneurship can be understood as the potential to identify and use development opportunities regardless of own resources....
متن کاملUse of Cuminum Cyminum Essential Oil and Biarum carduchcorum Water Extract on Shelf-life Extension of lambs at Cold Storage
Background and Objectives: Listeria monocytogenes is an emerging foodborne pathogen which may be transmitted through meat and dairy products to humans. In this study, effects of Cuminum cyminum essential oil (CCEO) and Biarum carduchcorum water extract (BCWE) and a combination of the two compounds on growth of L. monocytogenes and physicochemical, textural and sensory properties of lambs were i...
متن کاملA Review on Energy Storage Systems Planning in Active Distribution Networks and its Applications
With the restructuring of power systems, increase of renewable energy sources, and as networks become smarter, power systems are facing new challenges such as uncertainty in available energy resources. An appropriate solution to address these challenges are to use energy storage systems. Therefore, sizing, location, and selection of energy storage systems are important to maximize their benefit...
متن کاملSite selection of water storage based on multi-criteria decision analysis
Water loss can be minimized and conserve through constructing small storage dams for various irrigation purposes to support local livelihood. Geographic information system provides powerful techniques for many hydrological modeling and suitable dam site selection. The current study explored potential sites for small storage dams to meet agricultural requirements in district Malakand, Khyber Puk...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996